import request from '@/utils/request'

// 查询实时压力报列表
export function listDispatchRealTimePressureReports(query) {
  return request({
    url: '/system/dispatchRealTimePressureReports/list',
    method: 'get',
    params: query
  })
}

// 查询实时压力报详细
export function getDispatchRealTimePressureReports(realTimePressureReportsId) {
  return request({
    url: '/system/dispatchRealTimePressureReports/' + realTimePressureReportsId,
    method: 'get'
  })
}

// 新增实时压力报
export function addDispatchRealTimePressureReports(data) {
  return request({
    url: '/system/dispatchRealTimePressureReports',
    method: 'post',
    data: data
  })
}

// 修改实时压力报
export function updateDispatchRealTimePressureReports(data) {
  return request({
    url: '/system/dispatchRealTimePressureReports',
    method: 'put',
    data: data
  })
}

// 删除实时压力报
export function delDispatchRealTimePressureReports(realTimePressureReportsId) {
  return request({
    url: '/system/dispatchRealTimePressureReports/' + realTimePressureReportsId,
    method: 'delete'
  })
}
